package com.tca.cloud.standalone.equipment.api.service;

import com.tca.cloud.standalone.equipment.api.req.EquipmentReq;
import com.tca.cloud.standalone.equipment.api.resp.EquipmentResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author zhouan
 * @Date 2021/7/29
 */
@FeignClient(value = "equipment-provider")
public interface EquipmentFeign {

    /**
     * 根据id获取人员
     * @param equipmentReq
     * @return
     */
    @PostMapping("/equipment/get")
    EquipmentResp get(EquipmentReq equipmentReq);
}
